﻿import request from '/@/utils/request';
enum Api {
  AddKerrypluscarinfo = '/api/kerrypluscarinfo/add',
  DeleteKerrypluscarinfo = '/api/kerrypluscarinfo/delete',
  UpdateKerrypluscarinfo = '/api/kerrypluscarinfo/update',
  PageKerrypluscarinfo = '/api/kerrypluscarinfo/page',
  DetailKerrypluscarinfo = '/api/kerrypluscarinfo/detail',
}

// 增加嘉里车辆信息
export const addKerrypluscarinfo = (params?: any) =>
	request({
		url: Api.AddKerrypluscarinfo,
		method: 'post',
		data: params,
	});

// 删除嘉里车辆信息
export const deleteKerrypluscarinfo = (params?: any) => 
	request({
			url: Api.DeleteKerrypluscarinfo,
			method: 'post',
			data: params,
		});

// 编辑嘉里车辆信息
export const updateKerrypluscarinfo = (params?: any) => 
	request({
			url: Api.UpdateKerrypluscarinfo,
			method: 'post',
			data: params,
		});

// 分页查询嘉里车辆信息
export const pageKerrypluscarinfo = (params?: any) => 
	request({
			url: Api.PageKerrypluscarinfo,
			method: 'post',
			data: params,
		});

// 详情嘉里车辆信息
export const detailKerrypluscarinfo = (id: any) => 
	request({
			url: Api.DetailKerrypluscarinfo,
			method: 'get',
			data: { id },
		});


